package cn.tedu._04interceptor.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(tags="用户管理系统")
@RestController
@RequestMapping("/v1/user/")
public class UserController {
    @ApiOperation("用户登录")
    @GetMapping("login")
    public String login(){return "登陆成功";}


    @ApiOperation("用户注册")
    @GetMapping("reg")
    public String reg(){
        return "注册成功";
    }
}
